<?php
class Form_RegistrationForm extends Zend_Form {
	/**
	 * Initialisation
	 */
public function init()
    {
        
                
        $username = $this->createElement('text','username');
        $username->setLabel('registration_usernanme_required')
                ->setRequired(true);
                
        $password = $this->createElement('password','password');
        $password->setLabel('registration_password_required')
                ->setRequired(true);
                
        $confirmPassword = $this->createElement('password','confirmPassword');
        $confirmPassword->setLabel('registration_confirm_password')
                ->setRequired(true);
                
        $register = $this->createElement('submit','register');
        $register->setLabel('Sign up')
                ->setIgnore(true);
                
        $this->addElements(array(                                             
                        $username,
                        $password,
                        $confirmPassword,
                        $register
        ));
    }

}